package io.renren.modules.news.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 新闻模块
 * 回复的实体类
 */
public class reply {
    private Long replyId;  //回复的id
    private String userName;  //回复的人的昵称
    private String content;  //回复的内容
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;  //回复的时间
    private int newsId;  //回复所属的新闻id
    private int commentId;  //回复所属的评论id
    private int isDelete;  //回复是否被删除 0表示已删除 1表示未删除
    private String userHeadImage;  //用户头像
    private String token; //用户唯一属性
    private Long userId;  //用户的ID

    public String getUserHeadImage() {
        return userHeadImage;
    }

    public void setUserHeadImage(String userHeadImage) {
        this.userHeadImage = userHeadImage;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getReplyId() {
        return replyId;
    }

    public void setReplyId(Long replyId) {
        this.replyId = replyId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getNewsId() {
        return newsId;
    }

    public void setNewsId(int newsId) {
        this.newsId = newsId;
    }

    public int getCommentId() {
        return commentId;
    }

    public void setCommentId(int commentId) {
        this.commentId = commentId;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
